new File (args[0]).splitEachLine("\t") { splits ->
  if ( splits.size() > 1 ) {
    def ts = new TreeSet<String>()
    ts.addAll(splits[1..-1])
    def rem = ts - [splits[0].trim()]

    if ( rem.size() > 1 ) println splits[0].trim() + "\t" + rem.join("\t")
  }
}